package org.esprit.ocm.client.rpc.ec2;

import java.util.List;

import org.esprit.ocm.dto.impl.AwsCredentialsDto;
import org.esprit.ocm.dto.impl.ServerDto;
import org.esprit.ocm.model.ec2.RegionMapping;

import com.google.gwt.user.client.rpc.RemoteService;
import com.google.gwt.user.client.rpc.RemoteServiceRelativePath;

@RemoteServiceRelativePath("RegionService.rpc")
public interface RegionService extends RemoteService {

	/**
	 * List the AWS Regions.
	 * 
	 * @return
	 */
	public List<RegionMapping> listRegions(ServerDto server, AwsCredentialsDto credentials);
}
